package com.erp.erp_project.service.impl;

import com.erp.erp_project.mapper.CraftMapper;
import com.erp.erp_project.model.Craft;
import com.erp.erp_project.service.CraftService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@AllArgsConstructor
public class CraftServiceImpl implements CraftService {
    private CraftMapper craftMapper;
    @Override
    public List<Craft> list() {
        return craftMapper.list();
    }
}
